<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
		<style type="text/css">
			input[type=button]:hover{
				background-image: url(img/1.jpg);
			}
		</style>
		<script type="text/javascript">
			function Person(name){
				this.name=name;
			}
			Person.prototype.test=function(name){alert(name)};
			var p=new Person("张三");
			p.test(p.name);
		</script>
	</head>
	<body>
		<input type="button" name="" id="" value="哈哈" onclick="test()"/>
	</body>
</html>
class Person{
	name="zhansgan"；
	 Adress addr=new Address();
	
	
}

class Address{
		test(){
		syso(name);
	}
}

